package com.str.intro;
public class Counter {
  private int value;

// Constructor
  public Counter()
  {	value = 0; }

// Modifier
  public void inc()
  {	value++; }

// Accessor
  public int getValue()
  {	return value; }
}
